<?php
header("Content-type:application/xml");
echo "<?xml version='1.0' encoding='utf-8' ?>";
?>
<items>
<?php if($this->acl->isAllowed($this->role,'link','menuquickmenu')) {?>
<item name="快捷方式">
<?php if($this->acl->isAllowed($this->role,'link','menulinkadd')) {?>
	<menu siteId='' title='添加链接'  url='link/linkadd'  id='link_linkadd'></menu>			
<?php }?>
	<menu siteId='' title='添加软文'  url='link/articleadd'  id='link_articleadd'></menu>	
    <menu siteId='' title='添加关键词'  url='link/keywordadd'  id='link_keywordadd'></menu>	
    <menu siteId='' title='添加客户'  url='link/clientadd'  id='link_clientadd'></menu>			
	<menu siteId='' title='导入CSV数据'  url='link/import'  id='link_import'></menu>
<?php if($this->acl->isAllowed($this->role,'link','menuarticle')) {?>
	<!--<menu siteId='' title='软文'  url='link/article' id='link_article'></menu>-->			
<?php }?>


</item>
<?php }?>
<item name="客户管理">
<?php if($this->acl->isAllowed($this->role,'link','menuclient')) {?>
	<menu siteId='' title='客户信息管理'  url='link/client' id='link_client'></menu>		
<?php }?>
<?php if($this->acl->isAllowed($this->role,'link','menukeyword')) {?>
	<menu siteId='' title='关键字信息管理'  url='link/keyword' id='link_keyword'></menu>		
<?php }?>  
</item>

<item name="软文管理">

<menu siteId='' title='软文信息管理'  url='link/article'  id='link_link_article'></menu>			
	<!--<menu siteId='' title='引用软文管理'  url='link/articlemore' id='link_article_more'></menu>	-->		
</item>


<?php if($this->acl->isAllowed($this->role,'link','menulinkmore')) {?>
<item name="链接管理">

<menu siteId='' title='链接信息管理'  url='link/linkmore'  id='link_link_more'></menu>
<menu siteId='' title='链接信息统计'  url='link/statistic'  id='link_link_statistic'></menu>			
	<menu siteId='' title='引用软文管理'  url='link/articlelist' id='link_article_list'></menu>			
</item>
 <?php }?> 


<?php if($this->acl->isAllowed($this->role,'link','menudatacheck')) {?> 
<item name="数据审核">
<?php if($this->acl->isAllowed($this->role,'link','menucheckclient')) {?>
	<menu siteId='' title='客户信息审核'  url='link/checkclient'  id='link_data_client'></menu>			
<?php }?>
<?php if($this->acl->isAllowed($this->role,'link','menucheckkeyword')) {?>    
	<menu siteId='' title='关键字  审核'  url='link/checkkeyword' id='link_data_keyword'></menu>					
<?php }?>
<?php if($this->acl->isAllowed($this->role,'link','menuchecklink')) {?>   
    <menu siteId='' title='链接信息审核'  url='link/checklink' id='link_data_article'></menu>						  		  
<?php }?>  
    <menu siteId='' title='链接信息检测'  url='link/linkinfo' id='link_data_linkinfo'></menu>	
</item>
<?php }?>

<?php if($this->acl->isAllowed($this->role,'link','menusystemconfig')) {?>
<item name="系统设置">
	<?php if($this->acl->isAllowed($this->role,'link','menuindustry')) {?>  
	<menu siteId='' title='行业信息管理'  url='link/industry'  id='link_industry'></menu>
    <?php }?> 

    <?php if($this->acl->isAllowed($this->role,'link','menusite')) {?>  			
	<menu siteId='' title='网站类型管理'  url='link/site' id='link_site'></menu>	
    <?php }?>
<?php if($this->acl->isAllowed($this->role,'link','menulinktype')) {?>   		
    <menu siteId='' title='链接类型管理'  url='link/linktype' id='link_linktype'></menu>	
  <?php }?>   		

<?php if($this->acl->isAllowed($this->role,'link','menuautocheck')) {?>      
    <menu siteId='' title='链接检测自动执行设置'  url='link/autocheck' id='link_autocheck'></menu>			
   <?php }?>	
  <!--<menu siteId='' title='链接检测执行'  url='link/progress' id='link_progress'></menu>-->
</item>
<?php }?>
</items>

